package suzf.top.kotlinjava

import org.mybatis.spring.annotation.MapperScan
import org.slf4j.LoggerFactory
import org.springframework.boot.autoconfigure.SpringBootApplication
import org.springframework.boot.runApplication

@SpringBootApplication
@MapperScan(value = "suzf.top.kotlinjava.common.mapper")
class KotlinJavaApplication

val logger = LoggerFactory.getLogger(KotlinJavaApplication::class.java)!!

fun main(args: Array<String>) {
    runApplication<KotlinJavaApplication>(*args)
    logger.info("----------------- kotlin Java 学习程序启动成功 {} --------------")
}
